package ma.techit.pfe.agence.voyage.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.codehaus.jackson.annotate.JsonProperty;

@Entity
@Table(name="ServiceVol")
public class ServiceVol extends Service {
	
	@Column(name = "economiqueClasse")
	protected Boolean economiqueClasse;
	@Column(name = "premiereClasse")
	protected Boolean premiereClasse;
	@Column(name = "businessClasse")
	protected Boolean businessClasse;
	
	@JsonProperty("EconomiqueClasse")
	public Boolean getEconomiqueClasse() {
		return economiqueClasse;
	}
	public void setEconomiqueClasse(Boolean economiqueClasse) {
		this.economiqueClasse = economiqueClasse;
	}
	@JsonProperty("PremireClasse")
	public Boolean getPremiereClasse() {
		return premiereClasse;
	}
	public void setPremiereClasse(Boolean premiereClasse) {
		this.premiereClasse = premiereClasse;
	}
	@JsonProperty("BusinessClasse")
	public Boolean getBusinessClasse() {
		return businessClasse;
	}
	public void setBusinessClasse(Boolean businessClasse) {
		this.businessClasse = businessClasse;
	}
	@Override
	public String toString() {
		return "ServiceVol [economiqueClasse=" + economiqueClasse
				+ ", premiereClasse=" + premiereClasse + ", businessClasse="
				+ businessClasse + ", nom=" + nom + ", urlWSDL=" + urlWSDL
				+ ", description=" + description + ", fournisseur="
				+ fournisseur + ", id=" + id + "]";
	}    
	
}
